package com.housediyadmin.events.buildingEvents
{
	import com.housediyadmin.vo.Building;
	
	import flash.events.Event;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/11/16
	 */	
	public class EditBuildingEvent extends Event
	{
		public static const EDIT_BUILDING:String = "editBuilding";

		public var building:Building;
		public var areaIds:Array;
		
		public function EditBuildingEvent(type:String, building:Building, areaIds:Array)
		{
			super(type);
			this.building = building;
			this.areaIds = areaIds;
		}
		
		override public function clone():Event
		{
			return new EditBuildingEvent(type, building, areaIds);
		}
	}
}